using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_Report_BuyStandAlone : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlDateTime		_report_BuyStandAlone_ExchangeDate;
			private SqlInt32		_report_Plan_Audit, _report_BuyStandAlone_PropertyTypeID, _report_BuyStandAlone_ExchangeTypeID;
			private SqlDecimal		_report_BuyStandAlone_AgencyCost, _report_BuyStandAlone_Area, _report_BuyStandAlone_Price, _report_BuyStandAlone_Margins, _report_BuyStandAlone_CancelComm;
			private SqlString		_report_BuyStandAlone_Remark, _report_BuyStandAlone_Operator, _report_BuyStandAlone_Subscribe, _report_BuyStandAlone_ReportNO, _report_BuyStandAlone_SellUnit, _report_BuyStandAlone_PayType, _report_BuyStandAlone_Discount, _report_BuyStandAlone_Buyer;
            private SqlGuid         _report_BuyStandAlone_ID, _report_BuyStandAlone_ProjectID;
		#endregion




		#region Class Property Declarations
		public SqlGuid Report_BuyStandAlone_ID
		{
			get
			{
				return _report_BuyStandAlone_ID;
			}
			set
			{
				_report_BuyStandAlone_ID = value;
			}
		}
        public SqlGuid Report_BuyStandAlone_ProjectID
        {
            get
            {
                return _report_BuyStandAlone_ProjectID;
            }
            set
            {
                _report_BuyStandAlone_ProjectID = value;
            }
        }

		public SqlInt32 Report_BuyStandAlone_ExchangeTypeID
		{
			get
			{
				return _report_BuyStandAlone_ExchangeTypeID;
			}
			set
			{
				SqlInt32 report_BuyStandAlone_ExchangeTypeIDTmp = (SqlInt32)value;
				if(report_BuyStandAlone_ExchangeTypeIDTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_ExchangeTypeID", "Report_BuyStandAlone_ExchangeTypeID can't be NULL");
				}
				_report_BuyStandAlone_ExchangeTypeID = value;
			}
		}


		public SqlInt32 Report_BuyStandAlone_PropertyTypeID
		{
			get
			{
				return _report_BuyStandAlone_PropertyTypeID;
			}
			set
			{
				SqlInt32 report_BuyStandAlone_PropertyTypeIDTmp = (SqlInt32)value;
				if(report_BuyStandAlone_PropertyTypeIDTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_PropertyTypeID", "Report_BuyStandAlone_PropertyTypeID can't be NULL");
				}
				_report_BuyStandAlone_PropertyTypeID = value;
			}
		}


		public SqlDateTime Report_BuyStandAlone_ExchangeDate
		{
			get
			{
				return _report_BuyStandAlone_ExchangeDate;
			}
			set
			{
				SqlDateTime report_BuyStandAlone_ExchangeDateTmp = (SqlDateTime)value;
				if(report_BuyStandAlone_ExchangeDateTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_ExchangeDate", "Report_BuyStandAlone_ExchangeDate can't be NULL");
				}
				_report_BuyStandAlone_ExchangeDate = value;
			}
		}


		public SqlString Report_BuyStandAlone_ReportNO
		{
			get
			{
				return _report_BuyStandAlone_ReportNO;
			}
			set
			{
				SqlString report_BuyStandAlone_ReportNOTmp = (SqlString)value;
				if(report_BuyStandAlone_ReportNOTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_ReportNO", "Report_BuyStandAlone_ReportNO can't be NULL");
				}
				_report_BuyStandAlone_ReportNO = value;
			}
		}


		public SqlString Report_BuyStandAlone_Subscribe
		{
			get
			{
				return _report_BuyStandAlone_Subscribe;
			}
			set
			{
				SqlString report_BuyStandAlone_SubscribeTmp = (SqlString)value;
				if(report_BuyStandAlone_SubscribeTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Subscribe", "Report_BuyStandAlone_Subscribe can't be NULL");
				}
				_report_BuyStandAlone_Subscribe = value;
			}
		}


		public SqlString Report_BuyStandAlone_Operator
		{
			get
			{
				return _report_BuyStandAlone_Operator;
			}
			set
			{
				SqlString report_BuyStandAlone_OperatorTmp = (SqlString)value;
				if(report_BuyStandAlone_OperatorTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Operator", "Report_BuyStandAlone_Operator can't be NULL");
				}
				_report_BuyStandAlone_Operator = value;
			}
		}


		public SqlString Report_BuyStandAlone_SellUnit
		{
			get
			{
				return _report_BuyStandAlone_SellUnit;
			}
			set
			{
				SqlString report_BuyStandAlone_SellUnitTmp = (SqlString)value;
				if(report_BuyStandAlone_SellUnitTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_SellUnit", "Report_BuyStandAlone_SellUnit can't be NULL");
				}
				_report_BuyStandAlone_SellUnit = value;
			}
		}


		public SqlString Report_BuyStandAlone_Buyer
		{
			get
			{
				return _report_BuyStandAlone_Buyer;
			}
			set
			{
				SqlString report_BuyStandAlone_BuyerTmp = (SqlString)value;
				if(report_BuyStandAlone_BuyerTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Buyer", "Report_BuyStandAlone_Buyer can't be NULL");
				}
				_report_BuyStandAlone_Buyer = value;
			}
		}


		public SqlDecimal Report_BuyStandAlone_Area
		{
			get
			{
				return _report_BuyStandAlone_Area;
			}
			set
			{
				SqlDecimal report_BuyStandAlone_AreaTmp = (SqlDecimal)value;
				if(report_BuyStandAlone_AreaTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Area", "Report_BuyStandAlone_Area can't be NULL");
				}
				_report_BuyStandAlone_Area = value;
			}
		}


		public SqlString Report_BuyStandAlone_Discount
		{
			get
			{
				return _report_BuyStandAlone_Discount;
			}
			set
			{
				SqlString report_BuyStandAlone_DiscountTmp = (SqlString)value;
				if(report_BuyStandAlone_DiscountTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Discount", "Report_BuyStandAlone_Discount can't be NULL");
				}
				_report_BuyStandAlone_Discount = value;
			}
		}


		public SqlString Report_BuyStandAlone_PayType
		{
			get
			{
				return _report_BuyStandAlone_PayType;
			}
			set
			{
				SqlString report_BuyStandAlone_PayTypeTmp = (SqlString)value;
				if(report_BuyStandAlone_PayTypeTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_PayType", "Report_BuyStandAlone_PayType can't be NULL");
				}
				_report_BuyStandAlone_PayType = value;
			}
		}


		public SqlDecimal Report_BuyStandAlone_Price
		{
			get
			{
				return _report_BuyStandAlone_Price;
			}
			set
			{
				SqlDecimal report_BuyStandAlone_PriceTmp = (SqlDecimal)value;
				if(report_BuyStandAlone_PriceTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Price", "Report_BuyStandAlone_Price can't be NULL");
				}
				_report_BuyStandAlone_Price = value;
			}
		}


		public SqlDecimal Report_BuyStandAlone_Margins
		{
			get
			{
				return _report_BuyStandAlone_Margins;
			}
			set
			{
				SqlDecimal report_BuyStandAlone_MarginsTmp = (SqlDecimal)value;
				if(report_BuyStandAlone_MarginsTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Margins", "Report_BuyStandAlone_Margins can't be NULL");
				}
				_report_BuyStandAlone_Margins = value;
			}
		}


		public SqlDecimal Report_BuyStandAlone_AgencyCost
		{
			get
			{
				return _report_BuyStandAlone_AgencyCost;
			}
			set
			{
				SqlDecimal report_BuyStandAlone_AgencyCostTmp = (SqlDecimal)value;
				if(report_BuyStandAlone_AgencyCostTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_AgencyCost", "Report_BuyStandAlone_AgencyCost can't be NULL");
				}
				_report_BuyStandAlone_AgencyCost = value;
			}
		}


		public SqlDecimal Report_BuyStandAlone_CancelComm
		{
			get
			{
				return _report_BuyStandAlone_CancelComm;
			}
			set
			{
				SqlDecimal report_BuyStandAlone_CancelCommTmp = (SqlDecimal)value;
				if(report_BuyStandAlone_CancelCommTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_CancelComm", "Report_BuyStandAlone_CancelComm can't be NULL");
				}
				_report_BuyStandAlone_CancelComm = value;
			}
		}


		public SqlString Report_BuyStandAlone_Remark
		{
			get
			{
				return _report_BuyStandAlone_Remark;
			}
			set
			{
				SqlString report_BuyStandAlone_RemarkTmp = (SqlString)value;
				if(report_BuyStandAlone_RemarkTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_BuyStandAlone_Remark", "Report_BuyStandAlone_Remark can't be NULL");
				}
				_report_BuyStandAlone_Remark = value;
			}
		}









		public SqlInt32 Report_Plan_Audit
		{
			get
			{
				return _report_Plan_Audit;
			}
			set
			{
				SqlInt32 report_Plan_AuditTmp = (SqlInt32)value;
				if(report_Plan_AuditTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Plan_Audit", "Report_Plan_Audit can't be NULL");
				}
				_report_Plan_Audit = value;
			}
		}
		#endregion
	}
}
